Implement get_sys_suspend_power_state() handler for Tegra
authorVarun Wadekar <[email protected]>
Fri, 3 Jul 2015 11:01:28 +0000 (16:31 +0530)
committerVarun Wadekar <[email protected]>
Mon, 6 Jul 2015 03:45:02 +0000 (09:15 +0530)
commit94c672e77f5e39902e46c26cc38df313f9bc1e49
treec4f8aef44eeb7f0e124d8598c8659dbfa789e188
parent484bb38509e8822d8b1fde93e215eb0e7abdf86d
Implement get_sys_suspend_power_state() handler for Tegra

This patch implements the get_sys_suspend_power_state() handler required by
the PSCI SYSTEM_SUSPEND API. The intent of this handler is to return the
appropriate State-ID field which can be utilized in `affinst_suspend()` to
suspend to system affinity level.

Signed-off-by: Varun Wadekar <[email protected]>
docs/plat/nvidia-tegra.md
plat/nvidia/tegra/common/tegra_pm.c
plat/nvidia/tegra/include/t210/tegra_def.h
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c